# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=azazel
pkgver=15.a41fbb5
pkgrel=3
groups=('blackarch' 'blackarch-backdoor')
pkgdesc='A userland rootkit based off of the original LD_PRELOAD technique from Jynx rootkit.'
arch=('any')
url='https://github.com/chokepoint/azazel'
license=('GPL2')
depends=('python2')
makedepends=('git')
source=("git+https://github.com/chokepoint/$pkgname.git")
sha512sums=('SKIP')
install="$pkgname.install"

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd "$pkgname"

  install -dm 755 "$pkgdir/usr/share/$pkgname"

  cp -a --no-preserve=ownership * "$pkgdir/usr/share/$pkgname"
}

